package org.redis.cluster.redis.processor;

import org.redis.cluster.redis.transport.RedisReply;
import org.redis.cluster.redis.transport.reply.RedisStatusReply;

public class RedisStatusReplyProcessor extends AbstractRedisSingleReplyProcessor<RedisStatusReply> {

	@Override
	public Class<? extends RedisReply> getSupportClass() {
		return RedisStatusReply.class;
	}

	@Override
	protected Object getValue(RedisStatusReply reply) {
		return reply.getValue();
	}

	@Override
	protected byte getStartByte() {
		return RedisReply.STATUS_START;
	}

}